export function setStorage(key, token) {
    return localStorage.setItem(key, JSON.stringify(token));
}

export function getStorage(key) {
    const data = localStorage.getItem(key);
    return JSON.parse(data);
}

export function removeStorage(key) {
    return localStorage.removeItem(key);
}